package com.ruoyi.project.WebMoudle.streamTerrace.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 平台收入对象 stream_terrace
 * 
 * @author ruoyi
 * @date 2020-08-15
 */
public class StreamTerrace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 得钱类型(0-用户支付,1-商家提现,2-用户提现) */
    @Excel(name = "得钱类型(0-用户支付,1-商家提现,2-用户提现)")
    private String gainType;
    private String orderNum;

    /** 获得钱 */
    @Excel(name = "获得钱")
    private BigDecimal gainMoney;
    private String handleType;

    public String getHandleType() {
        return handleType;
    }

    public void setHandleType(String handleType) {
        this.handleType = handleType;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGainType(String gainType) 
    {
        this.gainType = gainType;
    }

    public String getGainType() 
    {
        return gainType;
    }
    public void setGainMoney(BigDecimal gainMoney)
    {
        this.gainMoney = gainMoney;
    }

    public BigDecimal getGainMoney()
    {
        return gainMoney;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gainType", getGainType())
            .append("gainMoney", getGainMoney())
            .append("createTime", getCreateTime())
            .toString();
    }
}
